package com.ssm.design.strategy.impl;

import com.ssm.design.common.enums.OrderTypeEnum;
import com.ssm.design.strategy.OrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class CarOrderServiceImpl implements OrderService {

    @Override
    public OrderTypeEnum getOrderType() {
        return OrderTypeEnum.Car;
    }

    @Override
    public void createOrder() {
        log.info("create order by car");
    }
}
